package com.yisu.kabao.manager.core.mapper;


import com.yisu.kabao.ewf.entity.GoodsType;
import com.yisu.kabao.manager.domain.request.baseInfoPackage.GoodsCategoryRequest;

import java.util.List;

public interface GoodsTypeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(GoodsType record);

    int insertSelective(GoodsType record);

    GoodsType selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(GoodsType record);

    int updateByPrimaryKey(GoodsType record);


    /**
     * author:赵杰
     * Business Description : 分页获取商品分类
     * @param goodsCategoryRequest 分页请求信息
     * @return 商品分类列表
     */
    List<GoodsType> getGoodsTypeByPage(GoodsCategoryRequest goodsCategoryRequest);
}